package org.easy.tool.service;

import org.easy.tool.entity.Type;
import org.easy.tool.entity.UserType;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Valley
 * @since 2023-08-28 16:37:44
 */
public interface IUserType extends IService<UserType> {

    List<Type> getTypeListByUserId(String userId);

    String addUserType(String userId, String typeId);

    UserType getUserTypeById(String userId, String typeId);

}
